
#include <iostream>
using namespace std;

#include "gtest/gtest.h"

#include "Matrix.h"

TEST( MatrixTest, Simple )
{
    Matrix<int> X( 3, 2 ), Y;
    int i, j;

    for ( i = 1; i <= 3; i++ )
        for ( j = 1; j <= 2; j++ )
            X( i, j ) = 2*i + j;

    EXPECT_EQ( 7, X( 3, 1 ) );

    Y = X;

    EXPECT_EQ( 7, Y( 3, 1 ) );
}

#include "main_stub.h"

